package com.syq.aop;

import org.springframework.aop.ThrowsAdvice;

/**
 * @ClassName: MyExceptionAdvice
 * @Description: TODO
 * @Create by: syq
 * @Date: 8/7/2022 上午9:43
 */


public class MyExceptionAdvice implements ThrowsAdvice {

    public void afterThrowing(Exception e){
        System.out.println("异常");
    }
}
